import * as type from '../action-type.js'
let initState = { list: [] }

export default function (state = initState, action) {
    switch (action.type) {
        case type.SET_HOME_LIst:
            return { list: action.payload };
            break;
        default:
            return state;
    }
}
